﻿using System;

namespace LTJ.Entity
{
    /// <summary>
    /// 企业信息实体
    /// </summary>
    [Serializable]
    public class CompanyInfo
    {
        #region Model
        private int _id;
        private string _cname = "";
        private string _ecname = "";
        private string _logo = "";
        private string _welcome = "";
        private string _relater = "";
        private string _relateform = "";
        private string _bio = "";
        private int _status;
        private int _manager = 0;
        private string _authoritys = "";
        private string _phone = "";
        private int _scores = 0;
        private string _main = "";
        private string _createdate = "1900-1-1";
        private string _creater = "";
        private string _email = "";
        private string _weburl = "";
        private string _msn = "";

        private int _mcount = -1;
        private int _ucount = -1;
        /// <summary>
        /// 企业ID
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string cname
        {
            set { _cname = value; }
            get { return _cname; }
        }
        /// <summary>
        /// 企业英文名称
        /// </summary>
        public string ecname
        {
            set { _ecname = value; }
            get { return _ecname; }
        }
        /// <summary>
        /// 企业Logo
        /// </summary>
        public string logo
        {
            set { _logo = value; }
            get { return _logo; }
        }
        /// <summary>
        /// 欢迎词
        /// </summary>
        public string welcome
        {
            set { _welcome = value; }
            get { return _welcome; }
        }
        /// <summary>
        /// 联系人
        /// </summary>
        public string relater
        {
            set { _relater = value; }
            get { return _relater; }
        }
        /// <summary>
        /// 联系方式
        /// </summary>
        public string relateform
        {
            set { _relateform = value; }
            get { return _relateform; }
        }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string bio
        {
            set { _bio = value; }
            get { return _bio; }
        }
        /// <summary>
        /// 企业状态，默认1，正常；0，停止合作
        /// </summary>
        public int status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 企业管理员
        /// </summary>
        public int Manager
        {
            set { _manager = value; }
            get { return _manager; }
        }
        /// <summary>
        /// 企业权限
        /// </summary>
        public string Authoritys
        {
            set { _authoritys = value; }
            get { return _authoritys; }
        }
        /// <summary>
        /// 企业电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 企业积分
        /// </summary>
        public int Scores
        {
            set { _scores = value; }
            get { return _scores; }
        }
        /// <summary>
        /// 企业主营
        /// </summary>
        public string Mains
        {
            set { _main = value; }
            get { return _main; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creater
        {
            set { _creater = value; }
            get { return _creater; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 网址
        /// </summary>
        public string WebUrl
        {
            set { _weburl = value; }
            get { return _weburl; }
        }
        /// <summary>
        /// MSN
        /// </summary>
        public string MSN
        {
            set { _msn = value; }
            get { return _msn; }
        }
        /// <summary>
        /// 管理员数量限制
        /// </summary>
        public int mcount
        {
            set { _mcount = value; }
            get { return _mcount; }
        }
        /// <summary>
        /// 用户数量限制
        /// </summary>
        public int ucount
        {
            set { _ucount = value; }
            get { return _ucount; }
        }
        #endregion Model
    }
}
